﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Exam.IService;
using Exam.Shared;

namespace Exam.Service
{
    public class BaseService<Tout, T> : IBaseService<Tout,T>  where Tout : class where T : class
    {
        public IRepositoy.IBaseRepository<T> _repository;
        public AutoMapper.IMapper _mapper;
        public BaseService(IRepositoy.IBaseRepository<T> repository, AutoMapper.IMapper mapper)
        {
            _repository = repository;
            _mapper = mapper;
        }

        public async Task<ResData<Tout>> Add(T t)
        {
            throw new NotImplementedException();

        }

        public Task<ResData<Tout>> Delete(List<T> ts)
        {
            throw new NotImplementedException();
        }

        public Task<ResData<Tout>> SoftDelete(List<T> ts)
        {
            throw new NotImplementedException();
        }

        public Task<ResData<Tout>> Update(T t)
        {
            throw new NotImplementedException();
        }
    }
}
